package com.test.demo1.service;

import com.github.pagehelper.PageInfo;
import com.test.demo1.bean.CodeSnippets;
import com.test.demo1.common.BaseService;
import com.test.demo1.common.PageRequest;

import java.math.BigInteger;
import java.util.List;
/**
 * (CodeSnippets)表服务接口
 *
 * @author makejava
 * @since 2025-07-22 21:53:54
 */
public interface CodeSnippetsService extends BaseService<CodeSnippets,BigInteger> {

    /**
     * 分页查询
     *
     * @param codeSnippets 筛选条件
     * @return 查询结果
     */
    PageInfo<CodeSnippets> queryByPage(PageRequest<CodeSnippets> codeSnippets);

    void saveOrUpdate(CodeSnippets codeSnippets);
    
      
     void delete(CodeSnippets codeSnippets);

    
     void insertBatch(CodeSnippets codeSnippets, List<CodeSnippets> codeSnippetss);
}
